home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7485 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.sunquest.com!kitk!kitk
  2. From: kitk@mudshark.sunquest.com (Kit Kauffmann)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: HELP : Setting tabs in CComboBox
  5. Date: Fri, 23 Feb 1996 08:54:57
  6. Organization: Sunquest
  7. Message-ID: <kitk.2106.0008EAB4@mudshark.sunquest.com>
  8. References: <312B7545.5403@idt.unit.no>
  9. NNTP-Posting-Host: kkauffma.sunquest.com
  10. X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
  11.  
  12. In article <312B7545.5403@idt.unit.no> Tor Neple <torne@idt.unit.no> writes:
  13. >From: Tor Neple <torne@idt.unit.no>
  14. >Subject: HELP : Setting tabs in CComboBox
  15. >Date: Wed, 21 Feb 1996 20:40:53 +0100
  16.  
  17. >-- 
  18. >I need to set one tab in each line of a ComboBox, like
  19.  
  20. >1234 [TAB] Hello
  21.  
  22. >I tried formatting my string with \t but it didnt work.  I seem 
  23. >to remember doing this before, but I have forgotton how.
  24.  
  25. >Thanx
  26.  
  27. >Tor
  28.  
  29. You'd do much better posting questions like this in a more relevant newgroup, 
  30. like comp.os.ms-windows.programmers.tools.mfc.
  31.  
  32. In any case, the only way to do this (AFAIK) is via an ownerdraw combobox and 
  33. TabbedTextOut or DrawText with DT_EXPANDTABS...
  34.  
  35.  
  36. Kit Kauffmann - kitk@mudshark.sunquest.com
  37. AKA 73363,447 (Compu$erve)
  38.  
  39. Finger me for my public key
  40.